<?php

declare(strict_types=1);

namespace App\Constants;


class Rooms
{

    const TYPE_EARTH = 'earth'; // 锄大地
    const TYPE_MAHJONG = 'mahjong'; // 麻将
    const TYPES = [
        self::TYPE_EARTH,
        self::TYPE_MAHJONG,
    ];

    // 等待玩家、准备中、进行中、已完成、已取消
    // 'wait','readying','playing','finished','cancel'
    const STATUS_WAIT = 'wait';
    const STATUS_READYING = 'readying';
    const STATUS_PLAYING = 'playing';
    const STATUS_FINISHED = 'finished';
    const STATUS_CANCEL = 'cancel';



    const BANKER = 'banker'; // 庄家
    const PREV = 'prev'; // 上家
    const NEXT = 'next'; // 下家
    const OPPOSITE = 'opposite'; // 对家
}
